package com.villaday.idf.adapter3;

import android.content.Context;
import android.view.View;

import com.villaday.idf.R;
import com.villaday.idf.custom.bannerUtil.AbsRecyclerViewAdapter;
import com.villaday.idf.model3.HashPricesEntity;
import com.villaday.idf.util.DateUtils;

public class HouseMoneyItemAdapter extends AbsRecyclerViewAdapter<HashPricesEntity.BodyBean.DatesBeanX.DatesBean> {


    public HouseMoneyItemAdapter(Context context) {
        super(context, R.layout.recycle_house_money_manage_item);
    }


    @Override
    public void onBindHolder(RecyclerViewHolder holder, HashPricesEntity.BodyBean.DatesBeanX.DatesBean d, int position) {
        holder.bindTextView(R.id.tv_hmm_start, DateUtils.String2String(d.getStartDate()))
                .bindTextView(R.id.tv_hmm_end, DateUtils.String2String(d.getEndDate()));
    }
}
